x86: fix section type mismatch in mm.c
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 10 Feb 2016 13:50:37 +0000 (14:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 10 Feb 2016 13:50:37 +0000 (14:50 +0100)
commite0a97098e20d8fe334b76b37dd6fb0a358a6953c
tree9a707c258bcea9415edb822e19b63483ef9a4ad9
parentc86aa9a250ca0c87760b369f295f67ae01542fa9
x86: fix section type mismatch in mm.c

Clang doesn't like mixing const and non-const data in the same section.  Move
zero_page into .bss.page_aligned.const and wildcard .bss.page_aligned when
linking.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/mm.c
xen/arch/x86/xen.lds.S